<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>会员中心 - 邦伴用户端</title>
  <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
  <style>
    :root {
      --primary: #ff7e2d;
      --primary-light: #fff3ea;
      --border: #f0f0f0;
      --text-main: #222;
      --text-sub: #888;
    }
    
    body {
      font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
      background-color: #f8f8f8;
      color: var(--text-main);
    }
    
    .app-container {
      width: 375px;
      height: 812px;
      margin: 0 auto;
      background: #fff;
      position: relative;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
      overflow-y: auto;
    }
    
    .primary-color {
      color: var(--primary);
    }
    
    .primary-bg {
      background-color: var(--primary);
    }
    
    .primary-light-bg {
      background-color: var(--primary-light);
    }
    
    .btn-primary {
      background-color: var(--primary);
      color: white;
    }
    
    .btn-outline {
      border: 1px solid var(--primary);
      color: var(--primary);
    }
    
    .card {
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }
    
    .member-card {
      background: linear-gradient(135deg, #ff7e2d, #ff9d5c);
      border-radius: 12px;
      color: white;
    }
    
    .menu-item {
      display: flex;
      align-items: center;
      padding: 16px;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .menu-item:last-child {
      border-bottom: none;
    }
  </style>
</head>
<body>
  <div class="app-container">
    <!-- 顶部导航栏 -->
    <div class="sticky top-0 z-10 bg-white border-b border-gray-100 px-4 py-3 flex items-center">
      <a href="javascript:history.back()" class="mr-2">
        <i class="fas fa-arrow-left text-lg"></i>
      </a>
      <h1 class="text-lg font-medium flex-1 text-center">会员中心</h1>
      <a href="#" class="text-sm text-gray-500">帮助</a>
    </div>
    
    <!-- 会员卡片 -->
    <div class="p-4">
      <div class="member-card p-4">
        <div class="flex items-center">
          <div class="w-14 h-14 rounded-full bg-white bg-opacity-20 flex items-center justify-center mr-3">
            <i class="fas fa-crown text-2xl"></i>
          </div>
          <div>
            <h2 class="text-lg font-medium">张先生</h2>
            <p class="text-sm opacity-80">黄金会员</p>
          </div>
          <div class="ml-auto">
            <a href="member_activate.html" class="bg-white text-sm text-orange-500 px-3 py-1 rounded-full">立即激活</a>
          </div>
        </div>
        
        <div class="mt-4 flex justify-between">
          <div>
            <p class="text-sm opacity-80">会员积分</p>
            <p class="text-xl font-medium">2,580</p>
          </div>
          <div>
            <p class="text-sm opacity-80">会员等级</p>
            <p class="text-xl font-medium">Lv.3</p>
          </div>
          <div>
            <p class="text-sm opacity-80">到期时间</p>
            <p class="text-xl font-medium">2024.12.31</p>
          </div>
        </div>
      </div>
    </div>
    
    <!-- 会员特权 -->
    <div class="px-4 py-3">
      <h2 class="text-base font-medium mb-3">会员特权</h2>
      <div class="grid grid-cols-4 gap-3">
        <a href="member_benefits.html" class="flex flex-col items-center">
          <div class="w-12 h-12 rounded-full primary-light-bg flex items-center justify-center mb-1">
            <i class="fas fa-gift primary-color"></i>
          </div>
          <span class="text-xs">会员权益</span>
        </a>
        <a href="member_points.html" class="flex flex-col items-center">
          <div class="w-12 h-12 rounded-full primary-light-bg flex items-center justify-center mb-1">
            <i class="fas fa-coins primary-color"></i>
          </div>
          <span class="text-xs">会员积分</span>
        </a>
        <a href="member_mall.html" class="flex flex-col items-center">
          <div class="w-12 h-12 rounded-full primary-light-bg flex items-center justify-center mb-1">
            <i class="fas fa-shopping-bag primary-color"></i>
          </div>
          <span class="text-xs">会员商城</span>
        </a>
        <a href="service_benefits.html" class="flex flex-col items-center">
          <div class="w-12 h-12 rounded-full primary-light-bg flex items-center justify-center mb-1">
            <i class="fas fa-hands-helping primary-color"></i>
          </div>
          <span class="text-xs">服务权益</span>
        </a>
      </div>
    </div>
    
    <!-- 我的权益卡 -->
    <div class="px-4 py-3 bg-gray-50">
      <div class="flex justify-between items-center mb-3">
        <h2 class="text-base font-medium">我的权益卡</h2>
        <a href="service_verification.html" class="text-sm primary-color">全部 <i class="fas fa-chevron-right text-xs"></i></a>
      </div>
      
      <div class="bg-white rounded-lg p-3 mb-3">
        <div class="flex items-center justify-between mb-2">
          <div class="flex items-center">
            <i class="fas fa-home-alt primary-color text-lg mr-2"></i>
            <span class="font-medium">家政保洁服务</span>
          </div>
          <span class="text-xs primary-color">未使用</span>
        </div>
        <div class="flex justify-between text-sm text-gray-500">
          <span>有效期至：2024-06-30</span>
          <a href="service_verification.html" class="primary-color">去使用</a>
        </div>
      </div>
      
      <div class="bg-white rounded-lg p-3">
        <div class="flex items-center justify-between mb-2">
          <div class="flex items-center">
            <i class="fas fa-hospital primary-color text-lg mr-2"></i>
            <span class="font-medium">医院陪护服务</span>
          </div>
          <span class="text-xs primary-color">未使用</span>
        </div>
        <div class="flex justify-between text-sm text-gray-500">
          <span>有效期至：2024-08-15</span>
          <a href="service_verification.html" class="primary-color">去使用</a>
        </div>
      </div>
    </div>
    
    <!-- 会员专享优惠 -->
    <div class="px-4 py-3">
      <div class="flex justify-between items-center mb-3">
        <h2 class="text-base font-medium">会员专享优惠</h2>
        <a href="member_mall.html" class="text-sm primary-color">更多 <i class="fas fa-chevron-right text-xs"></i></a>
      </div>
      
      <div class="grid grid-cols-2 gap-3">
        <div class="bg-white rounded-lg p-2">
          <div class="w-full h-32 bg-gray-100 rounded-lg overflow-hidden mb-2">
            <img src="https://via.placeholder.com/150" alt="商品图片" class="w-full h-full object-cover">
          </div>
          <div class="flex items-center mb-1">
            <span class="bg-primary-light text-xs primary-color px-1 rounded mr-1">会员专享</span>
            <span class="text-xs text-gray-500">7.5折</span>
          </div>
          <h3 class="text-sm mb-1 line-clamp-2">老人按摩椅家用全身多功能电动沙发</h3>
          <p class="text-xs primary-color font-bold">¥1,299.00</p>
        </div>
        <div class="bg-white rounded-lg p-2">
          <div class="w-full h-32 bg-gray-100 rounded-lg overflow-hidden mb-2">
            <img src="https://via.placeholder.com/150" alt="商品图片" class="w-full h-full object-cover">
          </div>
          <div class="flex items-center mb-1">
            <span class="bg-primary-light text-xs primary-color px-1 rounded mr-1">会员专享</span>
            <span class="text-xs text-gray-500">8折</span>
          </div>
          <h3 class="text-sm mb-1 line-clamp-2">婴儿推车轻便折叠高景观双向避震</h3>
          <p class="text-xs primary-color font-bold">¥899.00</p>
        </div>
      </div>
    </div>
    
    <!-- 会员功能菜单 -->
    <div class="px-4 py-3 bg-gray-50">
      <h2 class="text-base font-medium mb-3">会员服务</h2>
      <div class="bg-white rounded-lg">
        <a href="member_activate.html" class="menu-item">
          <i class="fas fa-id-card primary-color text-lg mr-3"></i>
          <span>会员激活</span>
          <i class="fas fa-chevron-right text-gray-300 ml-auto"></i>
        </a>
        <a href="member_points.html" class="menu-item">
          <i class="fas fa-coins primary-color text-lg mr-3"></i>
          <span>积分兑换</span>
          <i class="fas fa-chevron-right text-gray-300 ml-auto"></i>
        </a>
        <a href="member_benefits.html" class="menu-item">
          <i class="fas fa-gift primary-color text-lg mr-3"></i>
          <span>权益详情</span>
          <i class="fas fa-chevron-right text-gray-300 ml-auto"></i>
        </a>
        <a href="service_verification.html" class="menu-item">
          <i class="fas fa-qrcode primary-color text-lg mr-3"></i>
          <span>服务核销</span>
          <i class="fas fa-chevron-right text-gray-300 ml-auto"></i>
        </a>
      </div>
    </div>
    
    <!-- 底部空间 -->
    <div class="pb-20"></div>
  </div>
</body>
</html> 